﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Entities;

namespace DomainModel.Abstract
{
    public interface IUsersRepository
    {
        IEnumerable<User> GetAll();

        User GetByOpenID(string openID);
        User Get(int? id);
        void Save(User user);
        void Merge(User user);
        void Delete(int id);
    }
}
